<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style type="text/css">
			.d1 {
				width: 200px;
				height: 200px;
				border: 1px solid red;
				/* position: absolute; */
				/* 绝对定位 */
				/* top: 200px; */
				/* left: 100px; */
			}

			.d2 {
				width: 100px;
				height: 100px;
				border: 1px solid blue;
				position: absolute;
				top: 150px;
				left: 20px;
			}

			.d3 {
				width: 100px;
				height: 100px;
				border: 1px solid orange;
			}
		</style>
	</head>
	<body>
		<div class="d1">
			<div class="d2">绝对定位</div>
		</div>
		<div class="d3">3</div>
	</body>
</html>
